package com.surfmanager.model.result;
// Generated Aug 10, 2014 1:22:13 PM by Hibernate Tools 3.6.0

public class TripResult  implements java.io.Serializable,Comparable {


    private Integer tripId;
    
    private String departDate;
    
    private String retourDate;
    
   private String departPlace;
    
     private String tripPlace;
    
     private String tripDuration;
    
    private double tripProbability;
     
    private int maxParticipants;
    
     private double pricePerParticipant;
     
     private String transport;
     
    private String description;
     
    private String profile;

    public TripResult() {
    }

    public TripResult(Integer tripId, String departDate, String retourDate, String departPlace, String tripPlace, String tripDuration, double tripProbability, int maxParticipants, double pricePerParticipant, String transport, String description, String profile) {
        this.tripId = tripId;
        this.departDate = departDate;
        this.retourDate = retourDate;
        this.departPlace = departPlace;
        this.tripPlace = tripPlace;
        this.tripDuration = tripDuration;
        this.tripProbability = tripProbability;
        this.maxParticipants = maxParticipants;
        this.pricePerParticipant = pricePerParticipant;
        this.transport = transport;
        this.description = description;
        this.profile = profile;
    }

    public Integer getTripId() {
        return tripId;
    }

    public void setTripId(Integer tripId) {
        this.tripId = tripId;
    }

    public String getDepartDate() {
        return departDate;
    }

    public void setDepartDate(String departDate) {
        this.departDate = departDate;
    }

    public String getRetourDate() {
        return retourDate;
    }

    public void setRetourDate(String retourDate) {
        this.retourDate = retourDate;
    }

    public String getDepartPlace() {
        return departPlace;
    }

    public void setDepartPlace(String departPlace) {
        this.departPlace = departPlace;
    }

    public String getTripPlace() {
        return tripPlace;
    }

    public void setTripPlace(String tripPlace) {
        this.tripPlace = tripPlace;
    }

    public String getTripDuration() {
        return tripDuration;
    }

    public void setTripDuration(String tripDuration) {
        this.tripDuration = tripDuration;
    }

    public double getTripProbability() {
        return tripProbability;
    }

    public void setTripProbability(double tripProbability) {
        this.tripProbability = tripProbability;
    }

    public int getMaxParticipants() {
        return maxParticipants;
    }

    public void setMaxParticipants(int maxParticipants) {
        this.maxParticipants = maxParticipants;
    }

    public double getPricePerParticipant() {
        return pricePerParticipant;
    }

    public void setPricePerParticipant(double pricePerParticipant) {
        this.pricePerParticipant = pricePerParticipant;
    }

    public String getTransport() {
        return transport;
    }

    public void setTransport(String transport) {
        this.transport = transport;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getProfile() {
        return profile;
    }

    public void setProfile(String profile) {
        this.profile = profile;
    }

   

    @Override
    public int compareTo(Object o) {
    return this.getTripId().compareTo(((TripResult)o).getTripId());
        
    }

   



}


